#coding=utf-8
"""
Author:高鑫
Time:2025/8/28 0028 09:55
"""
from configparser import ConfigParser
from config.config import *
import os

class Read_Ini(ConfigParser):
    def __init__(self,filename):
        super(Read_Ini,self).__init__()
        self.read(filename)

    def read_data_ini(self,section=None,option=None):
        value = self.get(section,option)
        return value
file = os.path.join(data_path,'data.ini')
read = Read_Ini(file)
url = read.read_data_ini('test_data','url')
print(url)


















